import request from '@/utils/request'

// 查询机电设施日常巡查列表
export function listJdssrcxc(query) {
  return request({
    url: '/biz/jdssrcxc/list',
    method: 'get',
    params: query
  })
}

// 查询机电设施日常巡查详细
export function getJdssrcxc(id) {
  return request({
    url: '/biz/jdssrcxc/' + id,
    method: 'get'
  })
}

// 新增机电设施日常巡查
export function addJdssrcxc(data) {
  return request({
    url: '/biz/jdssrcxc',
    method: 'post',
    data: data
  })
}

// 修改机电设施日常巡查
export function updateJdssrcxc(data) {
  return request({
    url: '/biz/jdssrcxc',
    method: 'put',
    data: data
  })
}

// 删除机电设施日常巡查
export function delJdssrcxc(id) {
  return request({
    url: '/biz/jdssrcxc/' + id,
    method: 'delete'
  })
}

// 导出机电设施日常巡查
export function exportJdssrcxc(query) {
  return request({
    url: '/biz/jdssrcxc/export',
    method: 'get',
    params: query
  })
}